$minWidth: 1200px;
$setHeight: 40px;
#userLayout.user-layout-wrapper {
  min-width: $minWidth;
  // width: expression((document.body.clientWidth) < 1000 ? "1000px": "100%");
  height: 100%;
  // overflow: scroll;
  position: relative;
  &.mobile {
    .container {
      .main {
        max-width: 368px;
        width: 98%;
      }
    }
  }

  .vPic {
    width: 33%;
    height: $setHeight;
    float: right !important;
    background: #ccc;
    img {
      cursor: pointer;
      vertical-align: middle;
    }
  }

  .phone-code {
    width: 33%;
    height: $setHeight;
    float: right !important;
    .el-button {
      border-radius: 0 4px 4px 0;
    }

    .el-button--primary {
      width: 100%;
      height: 100%;
      background-color: #3066dd;
      border-color: #3066dd;
      padding: 0;
    }
  }

  // 登录按钮样式
  .login-submit {
    width: 100%;
    height: 50px;
    margin-top: 45px;
    background-color: #3066dd;
    border: none;
    padding: 0;
    background: linear-gradient(180deg, #44BCFF 0%, #0F62CF 100%);
    border-radius: 4px;
    border: 1px solid #12A9FF;
  }
    .logo {
      position:absolute;
      top: 20px;
      left: 26px;
      z-index: 1;
    }
  .container {
    position: relative;
    // overflow: auto;
    min-height: 100vh;
    background-size: cover;

    .login-top-bg {
      min-width: $minWidth;
      width: 100%;
      height: 100vh;
      background: url(~@/assets/login/bg.png) no-repeat;
      position: relative;
      background-repeat: no-repeat;
      background-position: center center;
      background-size: cover;
    }
  }
  
  .login-main {
    width: 500px;
    height: 580px;
    position: absolute;
    right: 10%;
    background: url(~@/assets/login/login.png) no-repeat;
    background-size: cover;
    // left: 50%;
    top: 50%;
    margin-top: -240px;
    // transform: translateY(-25%);

    .el-input__inner {
      height: 45px !important;
      background: rgba(14, 72, 139, 0.9);
      border-radius: 4px;
      border: 1px solid #7cadd8;
    }
    .login-title {
      font-size: 30px;
      font-family: MicrosoftYaHei-Bold, MicrosoftYaHei;
      font-weight: bold;
      color: #fff;
      line-height: 40px;
      padding: 35px 0;
      text-align: center;
    }
    .el-card {
      height: 427px;
      border-radius: 15px;
      padding: 0 20px;
      background: none;
      border: 0;
      .el-card__body {
        padding: 0 20px;
      }
      .login-content {
        // height: 464px;
        // margin: 10px auto;
        display: flex;
        // background-color: red;
        .login-img {
          width: 381px;
          background-size: cover;
          // background: url(~@/assets/loginFormBigImg.png);
        }
        .login-form-div {
          flex: 1;
          // background: green;
          // background: yellow;
          .login-tab {
            display: flex;
            font-size: 16px;
            padding: 10px 0;
            align-items: center;
            color: #fff;
            span {
              flex: 1;
              text-align: left;
              cursor: pointer;
              &.active {
                font-size: 20px;
                font-weight: 700;
              }
            }
            margin-bottom: 15px;
          }
          .form-title {
            height: 50px;
            text-align: center;
            font-size: 20px;
            font-weight: bold;
          }
          .el-form-item__content {
            line-height: $setHeight;
          }

          ::v-deep {
            .el-input__inner {
              height: $setHeight;
            }
            .el-input__icon {
              line-height: $setHeight;
            }
            .enter-code {
              width: 64% !important;
              border-radius: 4px 0 0 4px;
              border-right: none;
            }
          }
        }
      }
    }
  }
}

@media screen and (max-width: 1400px) {
  .login-submit {
    margin-top: 65px;
  }
  .login-main {
    width: 400px !important;
    height: 480px !important;
    top: 50% !important;
    margin-top: -180px !important;
    background-size: 100% 100% !important;
    .login-title {
      font-size: 25px !important;
      font-family: MicrosoftYaHei-Bold, MicrosoftYaHei;
      font-weight: bold;
      color: #fff;
      line-height: 40px;
      padding: 30px 0 !important;
      text-align: center;
    }
    .login-tab {
      margin-bottom: 25px;
    }
  }
}